package com.hrms.hrms_employee.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hrms.hrms_employee.dao.StaffContractDao;
import com.hrms.hrms_employee.entity.StaffContract;
import com.hrms.hrms_employee.service.StaffContractService;
import com.hrms.hrms_employee.service.StaffDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;

/**
 * 合同表(StaffContract)表服务实现类
 *
 * @author makejava
 * @since 2025-01-17 17:11:36
 */
@Service("staffContractService")
public class StaffContractServiceImpl extends ServiceImpl<StaffContractDao, StaffContract> implements StaffContractService {

    @Autowired
    private StaffContractDao staffContractDao;
    @Override
    public StaffContract selectBystaffId(Serializable id) {
        return this.staffContractDao.selectBystaffId(id);
    }
}

